package cn.sciento.dd.dto;

public class DingSyncDeptDTO {
  private Long id;
  
  private String name;
  
  private Long parentid;
  
  private Long order;
  
  private boolean createDeptGroup;
  
  private boolean deptHiding;
  
  private String deptPermits;
  
  private String userPermits;
  
  private boolean outerDept;
  
  private String outerPermitDepts;
  
  private String outerPermitUsers;
  
  private String sourceIdentifier;
  
  private String syncType;
  
  private Long parentUnitId;
  
  public Long getId() {
    return this.id;
  }
  
  public DingSyncDeptDTO setId(Long id) {
    this.id = id;
    return this;
  }
  
  public String getName() {
    return this.name;
  }
  
  public DingSyncDeptDTO setName(String name) {
    this.name = name;
    return this;
  }
  
  public Long getParentid() {
    return this.parentid;
  }
  
  public DingSyncDeptDTO setParentid(Long parentid) {
    this.parentid = parentid;
    return this;
  }
  
  public Long getOrder() {
    return this.order;
  }
  
  public DingSyncDeptDTO setOrder(Long order) {
    this.order = order;
    return this;
  }
  
  public boolean isCreateDeptGroup() {
    return this.createDeptGroup;
  }
  
  public DingSyncDeptDTO setCreateDeptGroup(boolean createDeptGroup) {
    this.createDeptGroup = createDeptGroup;
    return this;
  }
  
  public boolean isDeptHiding() {
    return this.deptHiding;
  }
  
  public DingSyncDeptDTO setDeptHiding(boolean deptHiding) {
    this.deptHiding = deptHiding;
    return this;
  }
  
  public String getDeptPermits() {
    return this.deptPermits;
  }
  
  public DingSyncDeptDTO setDeptPermits(String deptPermits) {
    this.deptPermits = deptPermits;
    return this;
  }
  
  public String getUserPermits() {
    return this.userPermits;
  }
  
  public DingSyncDeptDTO setUserPermits(String userPermits) {
    this.userPermits = userPermits;
    return this;
  }
  
  public boolean isOuterDept() {
    return this.outerDept;
  }
  
  public DingSyncDeptDTO setOuterDept(boolean outerDept) {
    this.outerDept = outerDept;
    return this;
  }
  
  public String getOuterPermitDepts() {
    return this.outerPermitDepts;
  }
  
  public DingSyncDeptDTO setOuterPermitDepts(String outerPermitDepts) {
    this.outerPermitDepts = outerPermitDepts;
    return this;
  }
  
  public String getOuterPermitUsers() {
    return this.outerPermitUsers;
  }
  
  public DingSyncDeptDTO setOuterPermitUsers(String outerPermitUsers) {
    this.outerPermitUsers = outerPermitUsers;
    return this;
  }
  
  public String getSourceIdentifier() {
    return this.sourceIdentifier;
  }
  
  public DingSyncDeptDTO setSourceIdentifier(String sourceIdentifier) {
    this.sourceIdentifier = sourceIdentifier;
    return this;
  }
  
  public String getSyncType() {
    return this.syncType;
  }
  
  public DingSyncDeptDTO setSyncType(String syncType) {
    this.syncType = syncType;
    return this;
  }
  
  public Long getParentUnitId() {
    return this.parentUnitId;
  }
  
  public DingSyncDeptDTO setParentUnitId(Long parentUnitId) {
    this.parentUnitId = parentUnitId;
    return this;
  }
  
  public String toString() {
    return "DingSyncDeptDTO{id=" + this.id + ", name='" + this.name + '\'' + ", parentid=" + this.parentid + ", order=" + this.order + ", createDeptGroup=" + this.createDeptGroup + ", deptHiding=" + this.deptHiding + ", deptPermits='" + this.deptPermits + '\'' + ", userPermits='" + this.userPermits + '\'' + ", outerDept=" + this.outerDept + ", outerPermitDepts='" + this.outerPermitDepts + '\'' + ", outerPermitUsers='" + this.outerPermitUsers + '\'' + ", sourceIdentifier='" + this.sourceIdentifier + '\'' + ", syncType='" + this.syncType + '\'' + ", parentUnitId=" + this.parentUnitId + '}';
  }
}
